<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Practice</title>
    <link href="css/style2.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div id="container1"></div>
<div id="container2"></div>

</body>
	<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="js/jquery.json.min.js"></script>
	<script type="text/javascript" src="js/practice2.js"></script>
	<script type="text/javascript">

	$(document).ready(function(){

		var widget1=new Widget("container1","http://rtqdev.morningstar.com/opt/test.jsp",10000);
		var aTickerIDs1=["S003"];
		widget1.acceptTicker(aTickerIDs1);
		
		//change the ticker on the fly.
		aTickerIDs1=["S001","S002","S003"];
		widget1.acceptTicker(aTickerIDs1);
		
		var widget2=new Widget("container2","http://rtqdev.morningstar.com/opt/test.jsp",5000);
		var aTickerIDs2=["S001","S003","S004"];
		widget2.acceptTicker(aTickerIDs2);

	})
</script>
</html>
